package com.stylefeng.guns.common.dto.acct;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author carloszhang
 */
@Data
@ApiModel("登录操作相关接口返回结果")
public class LoginResp {

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("操作结果")
    private boolean optResult = Boolean.FALSE;

    @ApiModelProperty("登录后生成的accessToken")
    private String accessToken;

    /**
     * 所属省份
     */
    @ApiModelProperty("所属省描述")
    private String provinceDesc;
    /**
     * 所属城市
     */
    @ApiModelProperty("所属市描述")
    private String cityDesc;

    @ApiModelProperty("市编码")
    private Integer city;

    @ApiModelProperty("省编码")
    private Integer province;

}
